

import threading, time

class Chuli(threading.Thread):
    def __init__(self, args):
        threading.Thread.__init__(self)
        self.args = args
        self.start()

    def run(self):
        for i in range(self.args):
            print(i)




if __name__ =="__main__":
    x = Chuli(10)
    x.start()





